package com.bookmall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bookmall.member.domain.MemberReceiveAddress;

import java.util.List;

/**
 * @Description:
 * @Author 胡菜鸡
 * @Create 2022-04-21-17:36
 */
public interface IMemberReceiveAddressService extends IService<MemberReceiveAddress> {
    /**
     * 获取会员的所有收获地址列表
     * @author 胡菜鸡
     * @date 2022/4/21 17:45
     */
    List<MemberReceiveAddress> getAddress(String memberId);

    /**
     * 添加一个新的收货地址
     * @author 胡菜鸡
     * @date 2022/4/24 8:56
     */
    int insertNewAddress(MemberReceiveAddress memberReceiveAddress);
}
